//先引入mockjs模块
import Mock from 'mockjs'


import banners from './banners.json'
import floors from './floors.json'

//mock数据
//第一个参数：请求的地址； 第二个参数：请求的数据
Mock.mock('/mock/banners', {code:200, data:banners})  //模拟首页大的轮播图的数据
Mock.mock('/mock/floors', {code:200, data:floors})